package com.zhang.order.mapper;

import com.zhang.order.dto.AppraiseSearchDTO;
import com.zhang.order.entity.GoodsAppraise;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhang.order.vo.AppraiseCountVO;
import org.apache.ibatis.annotations.MapKey;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 商品评价表 Mapper 接口
 * </p>
 *
 * @author 创世神
 * @since 2024-04-20
 */
@Mapper
public interface GoodsAppraiseMapper extends BaseMapper<GoodsAppraise> {
    AppraiseCountVO getCountBySkuId(AppraiseSearchDTO dto);
}
